\documentclass[spanish,11pt,a4paper]{article}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage{fancyhdr,lastpage}
\usepackage[a4paper,left=1.5cm,right=1cm]{geometry}
%\usepackage{multicol} 
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{url}
\usepackage{graphicx}
\definecolor{lnk}{rgb}{0,0,0.4}
\usepackage[colorlinks=true,linkcolor=lnk,citecolor=blue,urlcolor=blue]{hyperref}
\lstset{language=Python,basicstyle=\small\tt,keywordstyle=\bf,tabsize=3,breaklines=true,linewidth=16cm,postbreak={\mbox{$\rightsquigarrow$}},prebreak={\mbox{$\rightsquigarrow$}}}


%%%PAGE LAYOUT%%%
\topmargin = -0.5cm
%\hoffset=-3.5cm
%\textwidth=19cm
\parindent= 2 em
\parskip=3 pt
\footskip=1.2cm
\textheight = 680pt
\headheight 13.07225pt
\pagestyle{fancy}
\lhead{Allekote, Martinez, Brzostowski}
\cfoot{\thepage\ de \pageref{LastPage}}

%%%PAQUETES DE GRAFICO Y CALCULO%%%
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[amsmath]{maxiplot}

%%%CARATULA DE LA CATEDRA DE ALGO2%%%
\usepackage{caratula}
\input{tituloEstandar}


\begin{document}

%%TITULO%%
\maketitle

\newpage
\tableofcontents
\newpage

\input{gramatica}
\newpage

\input{implementacion}
\newpage

\input{ejemplosYResultados}
\newpage

\input{codigo}
\newpage

\end{document}
